package com.aaa.marketresearch.dataresource.dao;

import com.aaa.marketresearch.dataresource.domain.FamilyMember;

import java.util.List;

/**
 * @author Nail
 */
public interface FamilyMemberDAO {

    public List<FamilyMember> getAll();

    public List<FamilyMember> getAllForFamily(Integer familyId);

    public FamilyMember getById(Integer id);

    public List<String> getProfessions(String part);

    public void save(FamilyMember familyMember);

    public boolean delete(Integer id);

}
